package com.divemotor.ventarepuestosinternet.util;


import org.springframework.security.authentication.encoding.Md5PasswordEncoder;
import org.springframework.security.authentication.encoding.PasswordEncoder;

public class Encriptacion {
	
	public static String encriptarMD5(String cadena){
		PasswordEncoder encoder = new Md5PasswordEncoder();
	    return encoder.encodePassword(cadena, null);
	}

}
